<%--
  Created by IntelliJ IDEA.
  User: WIzarder
  Date: 2021/5/30
  Time: 17:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <h1>这是scope2页面</h1>
    pageContext是否有值：<%=pageContext.getAttribute("key1")%><br/>
    request是否有值：<%=request.getAttribute("key2")%><br/>
    session是否有值：<%=session.getAttribute("key3")%><br/>
    application是否有值：<%=application.getAttribute("key4")%><br/>
</body>
</html>
